package com.neusoft.neuiotms.dcom.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.Institutions;
import com.neusoft.neuiotms.dcom.model.OperationGroup;

public interface OperationGroupRepository
        extends JpaRepository<OperationGroup, Long>, CustomizedOperationGroupRepository {

    OperationGroup findByGroupLeaderCode(String groupLeaderCode);

    OperationGroup findByCode(String code);

    OperationGroup findByInstitutionsIn(List<Institutions> institutions);
}
